<?php
namespace app\controller;

use app\BaseController;
use app\common\service\UploadService;
use app\common\util\Srt;
use app\Request;
use think\facade\Db;

class Index extends BaseController
{
    public function index()
    {
        $result = Srt::parseSrt("D:\\客户相关文档\\医课\\字幕测试\\3-How stress affects your body - Sharon Horesh Bergquist.en-zh-cn.srt");
        var_dump($result);

    }

    public function hello($name = 'ThinkPHP6')
    {
        return 'hello,' . $name;
    }
    public function app(){
        return "app 就是一个测试";
    }
}
